﻿using Adnc.Infra.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace WYT.Usr.Repository.Entities
{
    /// <summary>
    /// 答案风险命中率
    /// </summary>
    [Table("usr_HealthAnswerTargetRate"), Comment("答案风险命中率")]
    public class HealthAnswerTargetRate : EfEntity
    {
        /// <summary>
        /// 考题
        /// </summary>
        [Comment("考题")]
        public long Exam { get; set; }

        /// <summary>
        /// 答案
        /// </summary>
        [Comment("答案")]
        public long Answer { get; set; }

        /// <summary>
        /// 风险结果
        /// </summary>
        [Comment("风险结果")]
        public long RiskResult { get; set; }

        /// <summary>
        /// 命中率（百分比）
        /// </summary>
        [Comment("命中率（百分比）")]
        public int Rate { get; set; }

        /// <summary>
        /// 最高百分比
        /// </summary>
        [Comment("最高百分比")]
        public int MaxRate { get; set; }
    }
}
